package com.yxw.live_vod_boot.feign;

import com.yxw.yxnet_cd_center.common.utils.BaseResult;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

/*** 
*@author 黄家旭
*@date 2023/11/27 15:23:34
*@update 2023/11/27 15:23:34
**/
@Component
@FeignClient(value = "live-vod-backend-boot", contextId = "billingSetup")
public interface BillingSetupServiceClient {

    /**
     * 直播扣费规则
     * @return BaseResult
     */
    @GetMapping("/backend/feign/getFeeDeductRatio")
    @ApiOperation(value = "直播扣费规则")
    public BaseResult getFeeDeductRatio();

    /**
     * 视频币兑换规则
     * @return BaseResult
     */
    @GetMapping("/backend/feign/getVideoCoinRatio")
    @ApiOperation(value = "视频币兑换规则")
    public BaseResult getVideoCoinRatio();

    /**
     * 点播空间大小
     * @return BaseResult
     */
    @GetMapping("/backend/feign/getOnDemandSpaceSize")
    @ApiOperation(value = "点播空间大小")
    public BaseResult getOnDemandSpaceSize();
}
